package com.gongzhiyun.springboot3test.entity.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description = "私信表")
public class TbUserPrivate implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "私信id", example = "1")
    private Integer id;
    @Schema(description = "接收人id", example = "1")
    private Integer receiveid;
    @Schema(description = "发送人id", example = "1")
    private Integer sendid;
    @Schema(description = "私信内容", example = "gzy")
    private String info;
    @Schema(description = "私信状态", example = "1")
    private Date lastupdate;


}
